A urine sample is a small amount of urine that is collected for testing or analysis. It can be used to detect various health conditions, including kidney function, diabetes, and certain infections. The sample is usually collected by patients in their homes using sterile containers provided by the laboratory performing the test.